package com.ruoyi.workflow.service;

import java.io.InputStream;
import java.util.Collection;
import java.util.List;
import com.ruoyi.workflow.domain.BpmnInfo;

/**
 * 流程定义Service接口
 * 
 * @author god磊
 * @date 2022-11-14
 */
public interface IBpmnInfoService 
{
    void deploy(InputStream inputStream, BpmnInfo bpmnInfo);

    List<BpmnInfo> selectBpmnInfoList(BpmnInfo bpmnInfo);

    boolean deleteDefinition(List<Long> asList);

    InputStream getResourceByType(Long id, String type);
}
